package overall.message.game
{
	import flash.utils.ByteArray;
	
	import xnet.Message.ISokcetMessage;
	import xnet.Message.MessageBase;
	
	public class GameSendCardMsg extends MessageBase
	{
		public function GameSendCardMsg()
		{
			super();
		}
		
		
		public var token:String;
		public var outCardData:int;
		public var actMask:int;
		public var currentUser:int;
		public var bTail:Boolean;
		override public function decodeSocketData(byteArray:ByteArray):ISokcetMessage
		{
			
			type = byteArray.readByte();
			token=byteArray.readUTF();
			outCardData=byteArray.readByte();
			actMask=byteArray.readInt();
			currentUser=byteArray.readInt();
			bTail=byteArray.readBoolean();
			return this;
		}	
	}
}